@import 'reset.css';

/* 自定义的图标的使用 引入@font-face的内容 然后复制到css中 在目录中新建font文件夹 将五个文件复制到font中 修改
font-face中的路径到font 第二步复制.iconfont 第三步添加class对应的属性 
*/
@font-face {
    font-family: 'iconfont';
    src: url('../font/iconfont.eot');
    src: url('../font/iconfont.eot?#iefix') format('embedded-opentype'),
        url('../font/iconfont.woff2') format('woff2'),
        url('../font/iconfont.woff') format('woff'),
        url('../font/iconfont.ttf') format('truetype'),
        url('../font/iconfont.svg#iconfont') format('svg');
  }
.iconfont {
    font-family: "iconfont" !important;
    font-size: 16px;
    font-style: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
  /* 头部信息 */
#headMessage li {
      float: left;
      line-height: 35px;
      padding: 0 6px;
      font-size: 0;
  }
#headMessage a {
    color: #6c6c6c;
    font-size: 12px;
  }
#headMessage a:hover {
      color: #f40;
  }
  /* 交集选择器 选择class为login的a标签 */
#headMessage a.login {
    color:#f22e00;
  }
#headMessage span {
      font-size: 12px;
  }
#headMessage span.arrow {
      margin-left: 7px;
  }
#headMessage li strong {
      font-size: 12px;
      color: #f22e00;
  }
#headMessage li.Line{
      font-size: 12px;
      color:#ddd;
      padding: 0 5px;
  }
  /* 头部广告 */
#headAd {
      background-color: #f12f04;
  }
#headAd .go {
      display: block;
      padding: 10px 10px 10px 15px;
  }
#headAd .go img {
      width: 80px;
      height: 80px;
  }
#headAd ul {
      padding-top: 13px;
  }
#headAd li {
      float: left;
      width: 209px;
      height: 75px;
      margin-right: 10px;
      box-sizing: border-box;
      padding: 12px 15px 0 15px ;
  }
#headAd li h3 {
      font-size: 20px;
      line-height: 28px;
  }
  #headAd li p {
      font-size: 14px;
      line-height: 20px;
  }
#headAd li a {
      color: #fff;
  }
  #headAd li a img {
      width: 52px;
      height: 52px;
      border-radius: 5px;
  }
#headAd li.item1 {
      background: url(../images/adbg_01.png) no-repeat;
  }
#headAd li.item2 {
    background: url(../images/adbg_02.png) no-repeat;
}
#headAd li.item3 {
    background: url(../images/adbg_03.png) no-repeat;
}
#headAd li.item4 {
    background: url(../images/adbg_04.png) no-repeat;
}
#headAd li.item5 {
    background: url(../images/adbg_05.png) no-repeat;
   margin-right: 0;
}
/* 头部搜索 */
#headSearch {
    background-color: #fff;
    padding: 24px 0 10px 0 ;
}
#headSearch h1 a {
    display: block;
    width: 190px;
    height: 58px;
    background: url(../images/logor.png) center no-repeat;
    text-indent:-9999px;
    margin-top: 8px;
}
#headSearch .code {
    width: 72px;
    height: 86px;
    border: 1px solid #eee;
    position: relative;
    margin-right: 110px;
    text-align: center; 
}
#headSearch .code img {
    width: 62px;
    height: 62px;
}
#headSearch .close {
    position: absolute;
    width: 14px;
    height: 14px;
    top: -1px;
    left:-16px;
    line-height:14px;
    font-size:14px;
    border: 1px solid #eee;
    color: #ddd;
    cursor: pointer;
}
#headSearch .search {
  width: 630px;
  margin: 0 auto;
}
#headSearch .searchTab{
  height: 22px;
  padding-left: 17px;
}
#headSearch .search li{
  float: left;
  width: 36px;
  line-height: 22px;
  margin-right: 4px;
  text-align: center;
  color: #f40;
  cursor: pointer;
}
#headSearch .search li:hover{
  background-color: #ffeee5;
}
#headSearch .search li.active{
  background-color: pink;
  color:#fff;
  font-weight: bold;
  border-radius: 6px 6px 0 0 ;
  background-image: linear-gradient(to right,#ff9000,#ff5000);
}
#headSearch .searchContent{
    height: 40px;
}
#headSearch .searchBox{
  width: 554px;
  height: 40px;
  box-sizing: border-box;
  border: 2px solid #ff5000;
  border-right: none;
  border-radius: 20px 0 0 20px;
  overflow: hidden;
  position: relative;
}
#headSearch .searchBox input{
  width: 490px;
  height: 36px;
  line-height: 36px;
  outline: none;  
  border: none;
  text-indent: 10px;
  position: absolute;
  /* 将input放置在placeholder的上方 */
  z-index: 1;
  /* 透明 为了能够看到后面的文字 */
  background-color: transparent;
}
#headSearch .searchBox .placeholder{
  position: absolute;
  top: 6px;
  left: 14px;
}
#headSearch .searchBox .placeholder span{
  color: #9c9c9c;
  vertical-align: 1px;
}
#headSearch .imgSearch{
  font-size: 28px;
  position: absolute;
  right: 20px;
  color: #9c9c9c;
  top:-3px;
  cursor: pointer;
}
#headSearch .searchContent button {
  width: 74px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  font-size: 18px;
  color: #fff;
  border: none;
  background-image: linear-gradient(to right,#ff9000,#ff5000);
  border-radius: 0 20px 20px 0;
  cursor: pointer;
}
#headSearch .hotkey{
  height: 25px;
  line-height:25px;
}
#headSearch .hotkey a:hover{
  color: #f50;
}
/* 导航 */
#nav h2{
  height: 30px;
  width: 190px;
  line-height:30px;
  font-size: 16px;
  color:#fff;
  text-align: center;
  background-color: #f50;
}
#nav ul{
  width: 1000px;
  width: calc(100% - 190px);
  background-image: linear-gradient(to right,#ff9000,#ff5000);
}
#nav ul li {
  float: left;
  line-height: 30px;
  margin-left: 7px;
  font-size: 14px;
  /* 给竖线白色 */
  color: #fff;
  position: relative;
  padding: 0 5px;
}
/* #nav ul li.line{
  margin: 0;
} */
#nav ul li.size{
  font-size: 16px;
}
#nav ul li a {
  /* 给连接的文字颜色 */
  color: #fff;
  font-weight: bold;
}
#nav ul li:hover::before{
  content: '';
  position: absolute;
  width: 23px;
  height: 13px;
  background-image: url(../images/ico_01.gif);
  top:-13px;
  left: 50%;
  margin-left: -12px;
}
/* 首屏内容 */
#firstScreen .firstLeft {
  width: 890px;

}
/* 侧边导航 */
.firstLeft .sideNav {
  width: 190px;
  height: 522px;
  background: #fff;
  border: 1px solid #ff5000;
  box-sizing: border-box;
  border-top: none;
  padding-top: 5px;
}
.firstLeft .sideNav li{
  height: 32px;
  line-height: 32px;
  padding-left: 25px; 
  color: #ccc;
  /* 过渡 过度的属性值 时间 */
  transition: background-color 0.3s;
}
.firstLeft .sideNav li a{
  font-size: 14px;
  color: #666;
}
.firstLeft .sideNav li span{
  font-size: 8px;
  margin-right: 5px;
}
.firstLeft .sideNav li:hover{
  background: #ffe4dc;
  color: #f50000;
}
.firstLeft .sideNav li:hover a{
  color: #f50000;
}
.firstLeft .sideNav li a:hover{
  text-decoration: underline;
}
/* 图片1容器 */
.firstLeft .img1Box {
  width: 690px;
  height: 282px;
  /* background: #eee; */
  margin-top: 10px;
}
.firstLeft .pic{
  width: 520px;
  position: relative;
}
.firstLeft .pic button{
  width: 20px;
  height: 30px;
  line-height: 30px;
  color: #fff;
  cursor: pointer;
  border: none;
  background-color: rgba(0, 0,0, 0.3);
  position: absolute;
  top:50%;
  margin-top: -15px;
  display: none;
}
.firstLeft .pic button.leftBtn {
  left: 0;
  border-radius: 0 15px 15px 0;
}
.firstLeft .pic button.rightBtn {
  right: 0;
  border-radius: 15px 0 0 15px;
}
.firstLeft .pic:hover button{
  display: block;
}
.firstLeft .pic .circle{
  position: absolute;
  bottom: 15px;
  left: 50%;
  border-radius: 10px;
  margin-left: -35px;
  padding: 3px 0;
  font-size: 0;
  background-color: rgba(255,255,255, 0.3);
}
.firstLeft .pic .circle span {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #fff;
  margin: 0 3px;
  cursor: pointer;
}
.firstLeft .pic .circle span.active {
  background-color: #ff5000;
}
.firstLeft .ad{
  width: 160px;
}
.firstLeft .ad img {
  width: 160px;
}
/* 图片2容器 */
.img2Box{
  width: 690px;
  height: 215px;
  background: #FFFFFF;
  margin-top: 10px;
}
.img2Box .picTitle .text{
  background: url('../images/title_bg.png') no-repeat;
}
.flwz {
  margin-left: 150px;
}
.flimg,.frimg {
 margin-left: 10px;
 margin-right: 10px;
 margin-top: 10px;
}
/* 淘宝头条 */
.news {
  width: 890px;
  height: 100px;
  background: #fff;
}
.news .ttimg{
 margin-left: 25px;
margin-top: 30px;
}
.news .ttimg > span {
  margin-left: 7px;
  margin-top: 5px;
  color: #999999;
}
.news_img {
  margin-left: 25px;
  line-height: 100px;
  margin-right: 15px;
}
.news .news_wz {
  margin-top: 15px;
}
.news_wzp{
  font-size: 18px;
  color: #000;
}
.news_wzspan{
  color: #999;
}
.news_wzp:hover{
  color: #f40;
}
.news_wzspan:hover{
color: #f40;
}
.news_wza{
  font-size: 14px;
  color: #999;
}
/* 右边区域 */
#firstScreen .firstRight {
  width: 290px;
  height: 621px;
  background: #fff;
} 
.firstRight .user{
  height: 140px;
  padding-top: 5px;
  background: url('../images/user_bg.png');
}
.firstRight .user .avatar{
  display: block;
  width: 50px;
  height: 50px;
  margin: 0 auto;
  border-radius: 50%;
  overflow: hidden;
}
.firstRight .user .username{
  font-size: 16px;
  text-align: center;
}
.firstRight .user .members{
	text-align: center;
	font-size: 0;
}
.firstRight .user .members a{
  display: inline-block;
	font-size: 14px;
	border-radius: 9px;
	padding: 0 10px 0 20px;
	margin: 0 2px;
}
.firstRight .user .members a.glod{
	background: #ffe4dc url('../images/ico.png') 0px -572px no-repeat;
}
.firstRight .user .members a.club{
	background: #ffe4dc url('../images/ico.png') 0 -528px no-repeat;
}
.user .btn {
  text-align: center;
}
.user .btn button {
  width: 75px;
  height: 25px;
  line-height: 25px;
  margin: 12px 2px 0px 2px;
  border-radius: 4px;
  font-weight: bold;
  border: none;
  color: #fff;
  background-image: linear-gradient(to right,#ff9000,#ff5000 );
  /* 兼容ie浏览器 利用ie的镜像*/
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffff9000', endColorstr='#ffff5000', GradientType=1);
}
.user .btn button.login{
  width: 92px;
}
/* 举报 */
.firstRight .tipOff {
    height: 25;
    line-height: 25px;
    width: 100%;
    display: inline-block;
    text-align: center;
    font-size: 12px;
    background-color: #FFE4DC;
    color: #f40;
}
.firstRight .tipOff .jbtb{
  font-size: 12px;
  margin-left: 35px;
}
/*公告区域  */
.notice .title{
  padding-left: 6px;
}
.notice .title li{
  float: left;
  margin: 14px;
}
.notice .title li:hover{
  color: #f40;
}
.notice .title li.active{
 font-weight: bold;
 border-bottom: 2px solid #f40;
}
.firstRight .notice .content{
  margin: 0 12px;
  padding-top: 10px;
}
.firstRight .notice .content li{
  width: 130px;
  float: left;
  height: 25px;
  line-height: 25px;
  overflow: hidden;
}
.firstRight .notice .content li a:hover,.firstRight .notice .content li.item1 a{
  color: #f40;
}
.firstRight .notice .content li.item1{
	width: 100%;
}
/* 图标区 */
.firstRight .icon {
  margin-top: 10px;
  width: 100%;
  height: 231px;
  background-color: #fff;
  table-layout: fixed;/* 定义列宽的算法，fixed的计算方式为根据表格宽度自动计算列宽，每列的宽度为均分整个表格的宽度 */
}
/* 将td中的元素居中 */
.firstRight .icon td{
  border: 1px solid #f4f4f4;
  text-align: center;
}
.firstRight .icon td span {
  display: block;
  width: 24px;
  height: 24px;
  margin: 0 auto;
  background: url('../images/ico.png') no-repeat;
}
.firstRight .icon td i{
	line-height: 34px;
	color: #333;
}
.firstRight .icon .item1 span{
	background: url('../images/ico.png') no-repeat 0 0; 
}
.firstRight .icon .item2 span{
	background-position: 0 -87px; 
}
.firstRight .icon .item3 span{
	background-position: 0 -44px; 
}
.firstRight .icon .item4 span{
	background-position: 0 -132px; 
}
.firstRight .icon .item5 span{
	background-position: 0 -176px; 
}
.firstRight .icon .item6 span{
	background-position: 0 -220px; 
}
.firstRight .icon .item7 span{
	background-position: 0 -264px; 
}
.firstRight .icon .item8 span{
	background-position: 0 -308px; 
}
.firstRight .icon .item9 span{
	background-position: 0 -352px; 
}
.firstRight .icon .item10 span{
	background-position: 0 -396px; 
}
.firstRight .icon .item11 span{
	background-position: 0 -440px; 
}
.firstRight .icon .item12 span{
	background-position: 0 -484px; 
}
/* 阿里App */
.firstRight .app{
  height: 111px;
}
.firstRight .app .title h3{
  padding-left: 13px;
  font-weight: bold;
}
.firstRight .app .title a:hover{
  color: #f40;
}
.firstRight .app .title span{
  font-size: 12px;
}
.firstRight .app .appSpan{
  text-align: center;
  font-size: 0;
}
.firstRight .app .appSpan li{
  /* 变为行内块元素或者设置浮动 */
  /* display: inline-block; */
  margin: 4px 13px 4px 13px;
  float: left;
  width: 32px;
  height: 32px;
}
/* 将图片大小设置为宽高32px */
.firstRight .app .appSpan img{
  width: 32px;
  height: 32px;
}
/* 有好货与爱逛街 */
/* 有好货头部 */
.goods {
margin-top: 10px;
height: 658px;
width: 590px;
background-color: #fff;
}
.goods .head{
  height: 24px;
  line-height: 24px;
  margin: 20px 0 0 20px;
}
.goods .head  h3 {
  font-size: 0;
  font-weight: normal;
}
.goods .head  h3 i{
  font-size: 12px;
  /* 设置文字垂直居中 */
  vertical-align: middle;
  color: #999;
}
.goods .head  h3 span {
  vertical-align: middle;
  color: #CCCCCC;
  margin: 0 7px;
}
.goods .head  h3 img{
    height: 22px;
}
.goods .head .change{
  color:#999;
  
}
.goods .list{
  margin-top: 10px;
  font-size: 0;
  text-align: center;
}
.goods .list li{
  display: inline-block;
  width: 180px;
  text-align: left;
  margin: 0 2px 35px 2px;

}
.goods .list li h4{
  height: 28px;
  font-size: 16px;
  line-height: 28px;
  font-weight: normal;
  /* margin-bottom: 20px; */
}
.goods .list li h4 a:hover{
  color: #f40;
}
.goods .list li img{
  width: 180px;
  height: 180px;
}
.goods .list li p > a{
  display: inline-block;
  font-size: 14px;
  color: #999999;
  margin-bottom: 15px;
}
.goods .list li a > i{
  width: 25px;
  font-size: 12px;
  margin-left: 7px;
  color: #35B1FF;
}
.goods .list a > span {
  font-size: 12px;
  color: #35B1FF;
}
/* 右侧固定定位 */
#tool{
  width: 50px;
  height: 350px;
  position: fixed;
  top:200px;
  right: 3%;
  /* border: 1px solid green; */
}
#tool span {
  width: 50px;
  height: 36px;
  text-align: center;
  font-size: 36px;
  line-height: 36px;
  color: #ff7f13;
  position: absolute;
  top:-28px;
}
#tool div {
  /* border: 1px red solid; */
  height: 350px;
  border-radius: 8px;  
}
#tool .btn a{
  display: block;
  width: 50px;  
  height: 50px;
  background: #fff;
  text-align: center;
  /* 只能在半角空格(输入法为月亮是打的空格为半角输入法为太阳时打得空格为全角空格)和连字符处换行 */
  word-break:keep-all;
  padding-top: 6px;
  box-sizing: border-box;
  position: relative;
}
/* 设置伪类在每个a的下方添加一个横线 */
#tool a:after{
	content: '';
	border-bottom: 1px solid #efefef;
	width: 34px;
	position: absolute;
	left: 8px;
	bottom: 0;
}
#tool a.item6{
	line-height: 40px;
}
#tool a:hover,#tool a.active{
	background-image: linear-gradient(135deg,#ff9000,#ff5000);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffff9000', endColorstr='#ffff5000', GradientType=1);
	color: #fff;
	font-weight: bold;
}
/* 当鼠标放上或者选中时给a设置的伪类失效，没有边框 */
#tool a:hover:after,#tool a.active:after{
	border: none;
}